package org.example.test1.newservice.newserviceimpl;

import org.apache.ibatis.annotations.Mapper;
import org.example.test1.newmapper.UpdateMapper;
import org.example.test1.newservice.UpdateService;
import org.example.test1.pojo.dto.UpdateDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.function.UnaryOperator;

@Service
public class UpdateServiceimpl implements UpdateService {
    @Autowired
    private UpdateMapper updateMapper;

    @Override
    public void update(UpdateDto updateDto) {
        updateMapper.update(updateDto);
    }
}
